package com.starlink.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starlink.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("points_use_bill")
public class PointsUseBillDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 用户id */
    @TableField("user_id")
    private Long userId;
    /** 行为动作 0:积分兑换 */
    @TableField("title")
    private Integer title;
    /** 消费方式 */
    @TableField("consume_mode")
    private Integer consumeMode;
    /** 消耗积分数量 */
    @TableField("consume_ponts")
    private Integer consumePonts;
}
